package edu.api.book_info.dao;

import edu.api.book_info.pojo.BookInfo;
import edu.api.book_info.pojo.Category;

import java.util.List;

public interface BookInfoDao {

    List<BookInfo> findAll();

    List<BookInfo> findByCategory(Category category);

    List<BookInfo> findByName(String name);
}
